package cn.scw.project.goods.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @description:
 * @author: lj
 * @create: 2020-05-25
 **/
@Data
@ApiModel("订单商品vo")
public class GOrderCommodityVo {

    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单编号")
    private Long orderNumber;
    @ApiModelProperty("商品id")
    private Long commodityId;
    @ApiModelProperty("商品信息")
    private GCommodityVo gCommodity;

    @ApiModelProperty("商品数量")
    private int count;
    @ApiModelProperty("规格（可选，当商品为多规格时必选）")
    private Long modelId;
    @ApiModelProperty("规格名称")
    private String modelName;
    @ApiModelProperty("商品名称")
    private String commodityName;


    @ApiModelProperty("缩略图")
    private String litimgUrl;
    @ApiModelProperty("创建日期")
    private Date createDate=new Date();
}
